package com.sc.domain.patrol;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("zuiliu_patrol_paths")
public class PatrolPath {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("path_name")
    private String pathName;//巡更路线名称
    @TableField("point_name")
    private String pointName;//巡更点名称
    @TableField("path_status")
    private String pathStatus;//路线状态
    @TableField("add_person")
    private String addPerson;//添加人
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("add_time")
    private LocalDateTime addTime;//添加时间
}
